//---------------------------------------------------------------------------
#include <stdio.h>
#include <Buttons.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <ExtCtrls.hpp>
#include <Mask.hpp>
#include <StdCtrls.hpp>

#ifndef Unit_listaalunosH
#define Unit_listaalunosH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Mask.hpp>

#include "Unit_principal.h"

//---------------------------------------------------------------------------

class TFmEditarAluno : public TForm
{
__published:	// IDE-managed Components
        TPanel *PanelBotoes;
        TLabel *Label1;
        TPanel *PanelEdicao;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label5;
        TLabel *Label6;
        TLabel *Label7;
        TLabel *Label8;
        TLabel *Label9;
        TLabeledEdit *EdNome;
        TEdit *EdRA;
        TLabeledEdit *EdPai;
        TLabeledEdit *EdMae;
        TLabeledEdit *EdProfPai;
        TLabeledEdit *EdProfMae;
        TLabeledEdit *EdEndereco;
        TLabeledEdit *EdNumero;
        TLabeledEdit *EdComplemento;
        TLabeledEdit *EdBairro;
        TLabeledEdit *EdCidade;
        TMaskEdit *EdCEP;
        TMaskEdit *EdRG;
        TMaskEdit *EdCPF;
        TLabeledEdit *EdEmail;
        TMaskEdit *EdTelefone;
        TMaskEdit *EdCelular;
        TPanel *PanelBotoes2;
        TBitBtn *BtnProximo;
        TBitBtn *BtnAnterior;
        TBitBtn *BtnVoltar;
        TBitBtn *BtnEditar;
        TBitBtn *BtnConcluir;
        TBitBtn *BtnCancelar;
        TComboBox *CBoxUF;
        TComboBox *CBoxEstadoCivil;
        TRadioGroup *RGSexo;
        void __fastcall BtnVoltarClick(TObject *Sender);
        void __fastcall BtnEditarClick(TObject *Sender);
        void __fastcall BtnCancelarClick(TObject *Sender);
        void __fastcall BtnConcluirClick(TObject *Sender);
        void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
        void __fastcall BtnProximoClick(TObject *Sender);
        void __fastcall BtnAnteriorClick(TObject *Sender);
        void __fastcall FormPaint(TObject *Sender);

private:	// User declarations
  FILE *lisalunos;
  void LerRegistro(ALUNO *aluno);

public:		// User declarations
        __fastcall TFmEditarAluno(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFmEditarAluno *FmEditarAluno;
//---------------------------------------------------------------------------
#endif
